<ui:component xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:ctg="http://www.crotouristguide.com/taglib"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich">
	<table border="" width="100%" class="blue-panel" cellpadding="0" cellspacing="0">
		<tr>
			<td rowspan="5" valign="top" width="50px">
				<ui:insert name="wizard-img" />
			<ul>
				<li class="#{objektSuggest.suggestStep == 1?'active':''}"><h:commandButton styleClass="#{objektSuggest.suggestStep == 1?'active':'suggest'}"
					value="1" type="button"
					action="#{objektSuggest.step1}" disabled="#{objektSuggest.suggestStep == 1}"
					immediate="#{objektSuggest.immediate}"/></li>
				
				<li class="#{objektSuggest.suggestStep == 2?'active':''}"><a:commandButton styleClass="#{objektSuggest.suggestStep == 2?'active':'suggest'}"
					value="2"
					action="#{objektSuggest.switchToStep(2)}" disabled="#{objektSuggest.suggestStep == 2}" reRender="wizardpanel"
					immediate="#{objektSuggest.immediate}"/></li>
					
				<li class="#{objektSuggest.suggestStep == 3?'active':''}"><a:commandButton styleClass="#{objektSuggest.suggestStep == 3?'active':'suggest'}"
					value="3"
					action="#{objektSuggest.switchToStep(3)}" disabled="#{objektSuggest.suggestStep == 3}" reRender="wizardpanel"
					immediate="#{objektSuggest.immediate}"/></li>
				
				<li class="#{objektSuggest.suggestStep == 4?'active':''}"><a:commandButton styleClass="#{objektSuggest.suggestStep == 4?'active':'suggest'}"
					value="4"
					action="#{objektSuggest.switchToStep(4)}" disabled="#{objektSuggest.suggestStep == 4}" reRender="wizardpanel"
					immediate="#{objektSuggest.immediate}"/></li>
				
				<li class="#{objektSuggest.suggestStep == 5?'active':''}"><a:commandButton styleClass="#{objektSuggest.suggestStep == 5?'active':'suggest'}"
					value="5"
					action="#{objektSuggest.switchToStep(5)}" disabled="#{objektSuggest.suggestStep == 5}" reRender="wizardpanel"
					immediate="#{objektSuggest.immediate}"/></li>	
				
				<li class="#{objektSuggest.suggestStep == 6?'active':''}"><a:commandButton styleClass="#{objektSuggest.suggestStep == 6?'active':'suggest'}"
					value="6"
					action="#{objektSuggest.switchToStep(6)}" disabled="#{objektSuggest.suggestStep == 6}" reRender="wizardpanel"
					immediate="#{objektSuggest.immediate}"/></li>
				
				<li class="#{objektSuggest.suggestStep == 7?'active':''}"><a:commandButton styleClass="#{objektSuggest.suggestStep == 7?'active':'suggest'}"
					value="7"
					action="#{objektSuggest.switchToStep(7)}" disabled="#{objektSuggest.suggestStep == 7}" reRender="wizardpanel"
					immediate="#{objektSuggest.immediate}"/></li>	
				
				<li class="#{objektSuggest.suggestStep == 8?'active':''}"><a:commandButton styleClass="#{objektSuggest.suggestStep == 8?'active':'suggest'}"
					value="8"
					action="#{objektSuggest.switchToStep(8)}" disabled="#{objektSuggest.suggestStep == 8}" reRender="wizardpanel"
					immediate="#{objektSuggest.immediate}"/></li>
				
				<li class="#{objektSuggest.suggestStep == 9?'active':''}"><a:commandButton styleClass="#{objektSuggest.suggestStep == 9?'active':'suggest'}"
					value="9"
					action="#{objektSuggest.switchToStep(9)}" disabled="#{objektSuggest.suggestStep == 9}" reRender="wizardpanel"
					immediate="#{objektSuggest.immediate}"/></li>					
		</ul>		
			</td>
			<td colspan="3">
				<s:div styleClass="title">
					<h1><ui:insert name="step-title" /></h1>
					<ui:insert name="step-tip" />
				</s:div>					
			</td>
		</tr>
		<tr>
			<td colspan="3">
				<ui:insert name="step-form" />
			</td>
		</tr>
		<tr>
			<td colspan="3">
			    <br/>								
				<ui:insert name="buttn-prev" />
				<ctg:nbsp/>
				<ui:insert name="buttn-next" />
				<ctg:nbsp/>
				<ui:insert name="buttn-cancel" />
			</td>	
		</tr>
		<tr>
			<td colspan="3">
				  <s:div styleClass="rich-separator"/>
				<ui:insert name="step-entered-data" />
			</td>
		</tr>
		<tr>
			<td colspan="4">
				<s:message styleClass="error errors" />
			</td>
		</tr>
	</table>

</ui:component>